.am-tab-bar{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: inherit;  // 包裹内容，内容多高就多高
}

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10;
}